from tools.run_cmd import run_cmd
from bdtime import tt


tt.__init__()


output, error = run_cmd.run_cmd("echo 11111; sleep 60; echo 222222", 3)

print('output --- ', output)
print('error --- ', error)

print('now --- ', tt.now(3))

output, error = run_cmd.run_cmd("echo 11111; sleep 1; echo 222222", 6)

print('output --- ', output)
print('error --- ', error)

print('now --- ', tt.now(3))





